package com.authine.cloudpivot.ext.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author: zhoujian
 * @Date: 2020/3/9 11:49
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
@RequiredArgsConstructor(staticName = "of")
@ApiModel("供应商订单VO")
public class VendorOrderV1VO {
    @ApiModelProperty("供应商订单id")
    private String orderId;
    @ApiModelProperty("客户订单id")
    private String customerOrderId;
    @ApiModelProperty("供应商订单状态")
    private String status;
    @ApiModelProperty("客户备注")
    private String memo;
    @ApiModelProperty("erpPO")
    private String erpPO;
    @ApiModelProperty("联系人")
    private String receiver;
    @ApiModelProperty("联系人电话")
    private String phone;
    @ApiModelProperty("邮编")
    private String postal;
    @ApiModelProperty("详细地址")
    private String address;
//    @ApiModelProperty("税率")
//    private Double taxRate;
    @ApiModelProperty("税额")
    private BigDecimal taxPayable;
    @ApiModelProperty("税前商品合计")
    private BigDecimal pretaxTotal;
    @ApiModelProperty("税后商品合计")
    private BigDecimal total;
    @ApiModelProperty("运费税额")
    private BigDecimal taxPayableFreight;
    @ApiModelProperty("税前运费")
    private BigDecimal pretaxFreight;
    @ApiModelProperty("运费")
    private BigDecimal freight;
    @ApiModelProperty("税前商品运费合计")
    private BigDecimal pretaxAmount;
    @ApiModelProperty("税后商品运费共计")
    private BigDecimal amount;
    @ApiModelProperty("下单人")
    private String memberName;
    @ApiModelProperty("下单时间")
    private Date time;
    @ApiModelProperty("下单组织")
    private String customerOrgName;
    @ApiModelProperty("订单来源")
    private String orderType;
    private List<OrderGoodsV1VO> orderGoods;


}
